package com.hn658.base.message.notisender.message;

import com.hn658.base.message.common.enums.NotifySenderType;
import com.hn658.base.message.notisender.enums.NotifyPriority;
import com.hn658.framework.common.AbstractBaseDTO;
import com.hn658.framework.shared.entity.BaseEntity;

/**
 * 模    块：APNSMessage
 * 包    名：com.wzitech.chaos.gaea.dada.notification.common.context.message
 * 项目名称：dada
 * 作    者：Shawn
 * 创建时间：10/25/13 3:11 AM
 * 描    述：
 * 更新纪录：1. Shawn 创建于 10/25/13 3:11 AM
 */
public class APNSMessage extends NotificationMessage {
	
	private static final long serialVersionUID = -3449754717825806481L;

	private String token;

    private Integer badgeCount;


    public APNSMessage() {
        super(NotifySenderType.ANPS, NotifyPriority.Normal);
    }

    @Override
    public void convertFromEntity(AbstractBaseDTO source) {

    }

    /**
     * 推送token
     */
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    /**
     * 客户端显示Badge数
     */
    public Integer getBadgeCount() {
        return badgeCount;
    }

    public void setBadgeCount(Integer badgeCount) {
        this.badgeCount = badgeCount;
    }
}
